import constants from '@/commons/constants';
const moduleCode = constants.MODULE_SYS_CODE;
export default [
    {
        path: '/mp',
        redirect: '/mp/info'
    },
    {
        path: '/mp/info',
        component: () => import('@/views/sys/mp/info/index.vue'),
        meta: {
            title: '微信小程序'
        }
    },
    {
        path: '/mp/info/register',
        component: () => import('@/views/sys/mp/register/index.vue'),
        meta: {
            title: '注册',
            permAuth: false,
            moduleCode
        }
    },
    {
        path: '/mp/redirect',
        component: () => import('@/views/sys/mp/info/redirect.vue'),
        meta: {
            title: '微信小程序',
            permAuth: false,
            moduleCode
        }
    }
];
